package com.example.databean;

import com.example.utils.DateUtils;

public class PostTalk {
    private String userName;
    private String postTalks;
    private String time;

    public PostTalk(String talk, String userId) {
        this.userName = userId;
        this.postTalks = talk;
        this.time = new DateUtils().getFormatDate();
    }

    public PostTalk() {

    }
    //测试实例
    public void PostTalkTest() {
        this.userName = "2222";
        this.postTalks = "还素好低啊u书店";
        this.time = new DateUtils().getFormatDate();

    }


    public String getUserName() {
        return userName;
    }
    public String getTime() {
        return time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPostTalks() {
        return postTalks;
    }
    public void setPostTalks(String postTalks) {
        this.postTalks = postTalks;
    }

}
